package pe.org.manuela.web.factories

import groovy.sql.*
import javax.naming.*

static def obtenerConexion() {
	def contexto = new InitialContext()
	def ds = contexto.lookup("java:comp/env/jdbc/prod")
	def conn = Sql.newInstance(ds)
	return conn
}
